package com.net.xpay.common.dao.partner;

import com.net.xpay.common.domain.partner.PartnerAccount;
import com.net.common.dao.VersionedMapper;
import com.net.common.annotation.DataShard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("")
@Repository
public interface PartnerAccountMapper extends VersionedMapper<Long, PartnerAccount> {
    PartnerAccount getByIdWithLock(@Param("id") Long id);

    List<PartnerAccount> listHasLeftMoneyAccount();
}
